package com.project.communitymanagement.controller;

import com.project.communitymanagement.common.BaseController;
import com.project.communitymanagement.entity.TbRecruit;
import com.project.communitymanagement.service.TbRecruitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("tbrecruit")
public class TbRecruitController extends BaseController<TbRecruitService, TbRecruit> {

    @Autowired
    private TbRecruitService tbrecruitService;

    @Override
    protected TbRecruitService service() {
        return tbrecruitService;
    }
}
